package com.atlin.project.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 团队表
 *
 * @TableName bi_team
 */
@TableName(value = "bi_team")
@Data
public class BiTeam implements Serializable {
    /**
     * 团队ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 图表 id
     */
    private Long chartId;

    /**
     * 创建用户 id
     */
    private Long createUserId;

    /**
     * 入团密码
     */
    private String joinPassword;

    /**
     * 状态 0 - 正常 1 - 异常
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}